import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Annotation;

@Retention(RetentionPolicy.RUNTIME)
@interface AdministratorAnnotation {
    String info();
}

@AdministratorAnnotation(info = "Annotation for the class Administrator.")
public class Administrator {
    
    public Administrator() {
        
    }
    
    public static void main(String[] args) {
        Employee emp = new Employee("Luong Phuong Thao", 1989, 7, 20, 1000, "Clerk");
        emp.display();
        Manager man = new Manager("Nguyen Phi Hung", 1986, 5, 14, 900, "Sale manager", 600);
        man.showEmployeeDetails();
        Administrator adm = new Administrator();
        System.out.print("Annotations of the Manager class\n");
        Annotation annos[] = man.getClass().getAnnotations();
        for(Annotation x : annos) {
            System.out.print("\t" + x + "\n");
        }
        System.out.print("Annotations of the Administrator class\n");
        Annotation annos2[] = adm.getClass().getAnnotations();
        for(Annotation x : annos2) {
            System.out.print("\t" + x + "\n");
        }
    }
}
